<template>
  <div class="maintain-layout">
    <snackbar style-color="#4A4A4A"
              back-color="#FAFAFA"
              status-color="#FAFAFA"
              style="background: #FAFAFA !important"
              rightText="搜索"
              :fixed="true">
    </snackbar>

    <div class="project-bodey" >
      <div class="project-bodey-top">
        <span>请选择</span>
        <span class="project-bodey-arrows" style="color: #B4B4B4;float: right"><img class="icon-go" src="@/assets/image/icon_right.png"></span>
      </div>

      <div class="project-bodey-neirong" v-for="(item,index) in dataArray" :key="index">
        <span>{{item}}</span>
      </div>
      <div class="project-bodey-neirong" style="margin-top: 32px" >
        <span>车辆维修</span>
      </div>
    </div>


    <div class="bottom-layout">
      <span class="add-btn">项目情况</span>
      <span class="add-span">|</span>
      <span class="add-span" >|</span>
    </div>


  </div>
</template>

<script>
export default {
  name: 'vehicle',
  data() {
    return {
      dataArray: ["酒水车","钩机装车","推土机","压路机","铲车"]
    }
  }
}
</script>

<style lang="scss" scoped>
.maintain-layout {
  width: 100%;
  height: 100vh;
  background: #F6F6F6;
  .project-bodey {
    width: 94%;
    height: 80vh;
    background: #FFFFFF;
    box-shadow: 0px 0px 6px 1px rgba(121, 121, 121, 0.3);
    border-radius: 4px;
    border: 0px solid rgba(222, 222, 222, 0.31);
    display: flex;
    flex-direction: column;
    //margin-left: 4%;
    margin: 5% auto;

    .project-bodey-top {
      width: 80%;
      margin: 10% 0 10px 13%;
      span {
        font-size: 0.4rem;
        color: #333333;
        display: inline-block;
      }
      .icon-go {

        width: 11px;
        height: 11px;
      }
    }
    .project-bodey-neirong {
      width: 90%;
      height: 8vh;
      margin-left: 5%;
      margin-top: 15px;
      background: #F5F6F7;
      text-align: center;
      line-height: 8vh;
      span{
        font-size: 0.5rem;
        color: #9B9B9B ;
      }
    }


  }

  .bottom-layout {
    position: fixed;
    bottom: 0px;
    width: 100vw;
    height: 8vh;
    display: flex;
    flex-direction: row;
    span {
      flex: 1;
      height: 8vh;
      background: #FFFFFF;
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      font-size: 0.4rem;
      color: #28C1C6 ;
    }
    .add-btn{

    }
    .add-span {
      justify-content: left;
    }
  }


}
</style>
